﻿@model DirigoEdge.Models.LoginModel

@{
    ViewBag.Title = "Log in";
}


<div class="row">
    <div class="twelve columns">
        <h2 class="sansserif">Log On</h2>
        <p>Please enter your user name and password. @Html.ActionLink("Register", "Register") if you don't have an account.</p>
        @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")

        @using (Html.BeginForm())
		{
            <div class="row">
                <div class="six columns">
                    <div class="editor-label">
                        @Html.LabelFor(m => m.UserName)
                    </div>
                    <div class="editor-field">
                        @Html.TextBoxFor(m => m.UserName)
                        @Html.ValidationMessageFor(m => m.UserName)
                    </div>
                </div>
            </div>
	  
            <div class="row">
                <div class="six columns">
                    <div class="editor-label">
                        @Html.LabelFor(m => m.Password)
                    </div>
                    <div class="editor-field">
                        @Html.PasswordFor(m => m.Password)
                        @Html.ValidationMessageFor(m => m.Password)
                    </div>
                </div>
            </div>
	  
            <div class="row">
                <div class="editor-label">
                    <div class="six columns">
                        @Html.CheckBoxFor(m => m.RememberMe)
                        <label for="RememberMe" class="fltLeft" style="display: inline-block; margin-bottom: 20px;">
                            Remember me?
                        </label>
                    </div>
                </div>
            </div>

            <p>
                <input class="button" type="submit" value="Log On" />
            </p>
		}
    </div>
</div>
